﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Ro.Common.RoInterface.UserType;

namespace RoTestGUI
{
    public partial class ViewDetails : Form
    {
        public ViewDetails()
        {
            InitializeComponent();
        }


        public void SetResultValue(ProOutToGui proOutToGui)
        {
            ViewName.Text = proOutToGui.Name;
            ViewStep.Text = proOutToGui.StepsName;
            ViewControlId.Text = proOutToGui.ControlId;
            ViewResult.Text = proOutToGui.Result;
            ViewExtra.Text = proOutToGui.ExtraInfo;
            
        }

        public void SetLogValue(ProOutToGui proOutToGui)
        {
           
            ViewResult.Text = proOutToGui.TimeFlag;
            ViewExtra.Text = proOutToGui.Details;
        }
    }
}
